www.gusucode.com > PHP响应式投票系统 v1.0PHP源码程序 > PHP响应式投票系统 v1.0/xystpxt_v1.0/xystpxt_v1.0/SpeedPHP/Drivers/TemplateLite/plugins/compiler.tplheader.php
<?php /* * Template Lite plugin * ------------------------------------------------------------- * File: compiler.tplheader.php * Type: compiler * Name: tplheader * Purpose: Output header containing the source file name and * the time it was compiled. * ------------------------------------------------------------- */ function tpl_compiler_tplheader($arguments, &$tpl) { return "\necho '" . $tpl->_file . " compiled at " . date('Y-m-d H:M'). "';"; } ?>